package org.zfes.snowier.cloud.zbss.pmp.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;

import org.zfes.snowier.cloud.zbss.pmp.dto.PmpProjectVersionCreateDto;
import org.zfes.snowier.core.data.ComboboVo;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.pmp.model.PmpProjectVersion;
public interface IPmpProjectVersionService{

    void createPmpProjectVersion(PmpProjectVersionCreateDto pmpProjectVersionCreateDto);
    
	 Optional<PmpProjectVersion> loadPmpProjectVersionById(Long id);
	
	 Long createPmpProjectVersion(PmpProjectVersion pmpProjectVersion);
	
	 void updatePmpProjectVersion(PmpProjectVersion pmpProjectVersion);

	 void deletePmpProjectVersion(Long id);
	
	 DataSet loadPmpProjectVersionDataSet(Map<String, Object> params);
	 
	List<ComboboVo> loadVersionComoboVo(Long projectId,Boolean firstEmpty);

 	void setPmpProjectVersionStatus(Long id, Byte status);

	void updatePmpProjectVersion(PmpProjectVersionCreateDto versionUpdateDto);



}